package com.oydsoft.upms.ucenter.controller;

import com.oydsoft.upms.api.UcenterControllerApi;
import com.oydsoft.upms.client.GhrClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UcenterController implements UcenterControllerApi {

    @Autowired
    GhrClient ghrClient;

    @Override
    public String test(){
        String b01 = ghrClient.getB01();
        return b01;
    }
}
